<template>
  <div id="app">
    <div>魏书亭的div</div>
    <div>魏书亭的div</div>
    <router-view v-if="isRouterAilve"/>
    <div>我是祁望写的</div>
  </div>
</template>

<script>

export default {
  name: 'app',
  data(){
    return{
      isRouterAilve:true
    }
  },
  components: {
  },
  provide(){
    return{
      relod:this.relod
    }
  },
  methods:{
    relod(){
      this.isRouterAilve=false
      this.$nextTick(()=>{
        this.isRouterAilve=true
      })
    }
  }
}
</script>

<style>

</style>
